package br.rc.unesp.tcc.model.bean;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "subject")
public class Subject {
	private int subjectId;
	private String name;
	
	public Subject() {
	}

	/**
	 * @param subjectId
	 * @param name
	 */
	public Subject(int subjectId, String name) {
		super();
		this.subjectId = subjectId;
		this.name = name;
	}

	/**
	 * @return the subjectId
	 */
	public int getSubjectId() {
		return subjectId;
	}

	/**
	 * @param subjectId the subjectId to set
	 */
	public void setSubjectId(int subjectId) {
		this.subjectId = subjectId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
}